<div>

<ul>

 <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(2) ) : else : ?>
 <?php endif; ?>

</ul></div>